package com.yunc.modules.cms.service;

import com.yunc.common.utils.R;
import com.yunc.modules.cms.entity.Question;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;

/**
 * 问卷管理表 service接口
 *
 * @author concong tao
 * @since 2019-01-31
 */
public interface IQuestionService extends IService<Question> {

    /**
     * 保存问卷及题目
     */
    R saveQuestion(HttpServletRequest request, Question question);

    /**
     * 更新问卷及题目
     */
    R updateQuestion(Question question);
}
